package io.modifier.basic.app

import io.modifier.basic.base.AppContext
import io.modifier.basic.base.IAppContext
import android.app.Application
import android.content.Context

class KBasicApp : Application(), IAppContext {
    override val context: Context
        get() = this

    private var appId: String? = null

    override fun onCreate() {
        super.onCreate()
        // 第一件事，先初始APP上下文
        AppContext.init(this)

        appId = ProcessUtil.getProcessName(this)
    }
}
